package com.pet_service.vo;

import lombok.Data;

import java.util.List;

/**
 * @author 邹全伸
 * @version 1.0
 * @date 2025-09-23 10:40
 */
@Data
public class GrantRoleBean {
    //用户id
    private Integer user_id;
    //这个用户所拥有的角色id(通过 VO 类来封装前端传递的参数roleIds)
    private List<Integer> roleIds;

    public GrantRoleBean() {
    }

    public GrantRoleBean(Integer user_id, List<Integer> roleIds) {
        this.user_id = user_id;
        this.roleIds = roleIds;
    }

    @Override
    public String toString() {
        return "GrantRoleBean{" +
                "user_id=" + user_id +
                ", roleIds=" + roleIds +
                '}';
    }
}
